﻿using System;
using System.ComponentModel.DataAnnotations;
using Data.AggregateRoot;

namespace Data.Entities
{
    /// <summary>
    /// 用户组成员
    /// </summary>
    public class SysUserGroupMember : EntityBase
    {
        /// <summary>
        /// 用户组Id
        /// </summary>
        [Required]
        public Guid UserGroupId { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        [Required]
        public Guid UserId { get; set; }
    }
}